<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>商户图片</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <link href="css/base.css" type="text/css" rel="stylesheet">
    <link href="css/common.css" type="text/css" rel="stylesheet">
    <script src="js/jquery.js"></script>
    <script src="js/common.js"></script>
    <script>
        $(function () {
            loadData("merchantPics");
        });
        function showPics(data){
            showMore(data);
            if(scriptFlag){
                data = data.data;
                loadingEnd();
            }
            var list = data.list;
            var listStr = "";
            $.each(list,function(index,obj){
                listStr += '<li>';
                listStr += '<img src="'+obj.pic+'" onerror="this.src=\''+imgObj.merchantPics+'\';this.onerror=null;" />';
                listStr += '</li>';
            });
            $(".merchantPics ul").append(listStr);
        }
    </script>
</head>
<body>
    <div class="merchantPics">
        <ul></ul>
        <a class="more" href="javascript:;">加载更多</a>
    </div>
</body>
</html>